//
//  SetView.swift
//  imprint
//
//  Created by 小柠檬🍋 on 2024/12/26.
//

import SwiftUI

struct SetView: View {
    var body: some View {
        ZStack{
            ScrollView(.vertical) {
//                SetPasswordView()
//                Spacer(minLength: 15)
                SetLaboratoryView()
//                Spacer(minLength: 15)
                SetContactView()
                Spacer(minLength: 15)
                SetAboutView()
                Spacer(minLength: 15)
            }.navigationTitle("设置")
                .frame(maxWidth: .infinity)
                .padding().background(.bg)
        }
    }
}

//#Preview {
//    SetView()
//}


//定义预览提供者
struct Set_Previews: PreviewProvider {
    static var previews: some View {
        //使用预览共享配置
        configurePreviewEnvironment(for: SetView())
    }
}
